package com.ibm.cps.message.validation;

import com.fasterxml.jackson.databind.node.ObjectNode;
import com.ibm.cps.message.MessageFields;
import com.ibm.util.exception.CPSException;

/**
 * Created by telekinesis on 6/19/15.
 */
public class PriceVariationProcessorValidator extends IProcessorValidator {

	@Override
	public void validatePostMessage(ObjectNode element) throws CPSException {
		ValidatorUtil.commonProcess(element);
		String[] strFields = { MessageFields.OUTPUT_FIELD_NAME };
		String[] arrFields = { MessageFields.PARENTPROCESSORS };
		ValidatorUtil.validateAllTypeFields(element, strFields, arrFields,
				null, null);
	}
}
